#ifndef JVIRTUALKEYBOARD_GLOBAL_H
#define JVIRTUALKEYBOARD_GLOBAL_H

#include <QtCore/qglobal.h>

#ifdef QTE_VIRTUALKEYBOARD_LIBRARY
# define QTE_VIRTUALKEYBOARD_EXPORT  Q_DECL_EXPORT
#else
# define QTE_VIRTUALKEYBOARD_EXPORT  Q_DECL_IMPORT
#endif

class QObject;

// 查询是否需要输入法
namespace QTE
{

enum Language
{
	LGG_GeneralEnglish,
	LGG_SimplifiedChinese,
//	LGG_TraditionalChinese,
//	LGG_Japanese,
//	LGG_Korean,
};
Q_DECL_HIDDEN QString inputMethodName(Language language);
Q_DECL_HIDDEN QString inputMethodAbbreviation(Language language);

Q_DECL_HIDDEN bool needInputMethod(QObject *object);

} //namespace JXQ


#endif //JVIRTUALKEYBOARD_GLOBAL_H
